package com.dev;
import android.widget.LinearLayout;
import android.view.View.OnClickListener;
import android.view.View;
import android.view.View.OnLongClickListener;
import android.widget.TextView;
import android.graphics.Typeface;
import android.view.Gravity;
public class CEditorPage extends LinearLayout implements OnClickListener,OnLongClickListener{
	MainActivity ma;
	LinearLayout titlebar;
	public TextView status;
	public CIndentEditor cie;
    public CEditorPage(MainActivity ma){
		super(ma);
		this.ma=ma;
		setOrientation(VERTICAL);
		int textSize=(int)(13*ma.dp);
		titlebar=new LinearLayout(ma);
		status=new TextView(ma);
		status.setTypeface(Typeface.MONOSPACE);
		status.setGravity(Gravity.CENTER_VERTICAL);
		status.getPaint().setTextSize(textSize);
		cie=new CIndentEditor(this);
		addView(status,-1,(int)(20*ma.dp));
		addView(cie,new LinearLayout.LayoutParams(-1,0,1f));
	}
	@Override
	public void onClick(View view) {
	}
	@Override
	public boolean onLongClick(View view) {
		return true;
	}
}
